extends Control

func _ready():
	$noteGridToolBar/ToolBar/allnote.connect("pressed",$PianoRoll,"_on_grid",[$noteGridToolBar,"all"])
	$noteGridToolBar/ToolBar/twofen.connect("pressed",$PianoRoll,"_on_grid",[$noteGridToolBar,"twofen"])
	$noteGridToolBar/ToolBar/fourfen2.connect("pressed",$PianoRoll,"_on_grid",[$noteGridToolBar,"fourfen"])
	$noteGridToolBar/ToolBar/eightfen.connect("pressed",$PianoRoll,"_on_grid",[$noteGridToolBar,"eightfen"])
	$noteGridToolBar/ToolBar/sixteenfen.connect("pressed",$PianoRoll,"_on_grid",[$noteGridToolBar,"sixteenfen"])
	pass
	


func _on_xifu_pressed():
	$noteGridToolBar.show()
	pass # Replace with function body.
